package com.hurried1y.model.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hurried1y.model.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * (UserWallet)表实体类
 *
 * @author makejava
 * @since 2023-06-19 11:41:34
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user_wallet")
public class UserWallet  {
    //钱包id
    @TableId
    private Long walletId;
    //用户id
    private Long userId;
    //总金额
    private BigDecimal totalAmount;
    //创建时间
    private Date createTime;
    // 更新时间
    private Date updateTime;
    // 逻辑删除(0-未删除，1-已删除)
    @TableLogic
    private Integer isDelete;
}

